package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.TicketBusiness;

/**
 * 商户信息Service接口
 *
 * @author ruoyi
 * @date 2024-07-15
 */
public interface ITicketBusinessService
{
    /**
     * 查询商户信息
     *
     * @param businessNo 商户信息主键
     * @return 商户信息
     */
    public TicketBusiness selectTicketBusinessByBusinessNo(String businessNo);

    /**
     * 查询商户信息
     *
     * @param businessName 商户名称
     * @return 商户信息
     */
    public TicketBusiness selectTicketBusinessByBusinessName(String businessName);

    /**
     * 查询商户信息列表
     *
     * @param ticketBusiness 商户信息
     * @return 商户信息集合
     */
    public List<TicketBusiness> selectTicketBusinessList(TicketBusiness ticketBusiness);

    /**
     * 新增商户信息
     *
     * @param ticketBusiness 商户信息
     * @return 结果
     */
    public int insertTicketBusiness(TicketBusiness ticketBusiness);

    /**
     * 修改商户信息
     *
     * @param ticketBusiness 商户信息
     * @return 结果
     */
    public int updateTicketBusiness(TicketBusiness ticketBusiness);

    /**
     * 批量删除商户信息
     *
     * @param businessNos 需要删除的商户信息主键集合
     * @return 结果
     */
    public int deleteTicketBusinessByBusinessNos(String[] businessNos);

    /**
     * 删除商户信息信息
     *
     * @param businessNo 商户信息主键
     * @return 结果
     */
    public int deleteTicketBusinessByBusinessNo(String businessNo);
}
